package cn.longwingstech.intelligence.agent.service;

import cn.longwingstech.intelligence.agent.model.entity.ChatHistory;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author a1369
* @description 针对表【chat_history(对话历史)】的数据库操作Service
* @createDate 2025-08-04 17:55:51
*/
public interface ChatHistoryService extends IService<ChatHistory> {
    /**
     * 保存user消息
     */
    public void saveUserMessage(String message, Long appid);

    /**
     * 保存assistant消息
     */
    public void saveAssistantMessage(String message, Long appid);
}
